const state = {
  agreementVisible: true,
  agreeAgreement: false,
  activationVisible: true,
};

const mutations = {
   SET_APP_DATA: (state, params) => {
     Object.keys(params).forEach(key => state[key] = params[key]);
  },
};

const actions = {
  fun({ commit }) {
    commit('FUN');
  },
};
const getters = {
  appparams(state) {
    return state.appparams;
  },
};
export default {
  namespaced: true,
  state,
  getters,
  mutations,
  actions,
};
